package cn.jjxx.modules.dj.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.dj.mapper.DjAdvanceMapper;
import cn.jjxx.modules.dj.entity.DjAdvance;
import cn.jjxx.modules.dj.service.IDjAdvanceService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 先进展示
 * @Description: 先进展示
 * @author yw
 * @date 2022-01-11 17:05:44
 * @version V1.0   
 *
 */
@Transactional
@Service("djAdvanceService")
public class DjAdvanceServiceImpl  extends CommonServiceImpl<DjAdvanceMapper,DjAdvance> implements  IDjAdvanceService {

	@Override
	public boolean insertBatch(List<DjAdvance> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<DjAdvance> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
